import Axios from './http-plugin';

const URI = '/gateway/'

/**
 * 查询数据
 * @param
 * @returns {*}
 */
export function getAll() {
    return Axios.get(URI + 'system/category/info', {})
}
export function getRural() {
    return Axios.get(URI + 'system/rural/list', {})
}
export function getSales() {
    return Axios.get(URI + 'system/sales/info', {})
}
export function getTurnover() {
    return Axios.get(URI + 'system/turnover/info', {})
}
export function getRate() {
    return Axios.get(URI + 'system/rate/info', {})
}
export function getChannel() {
    return Axios.get(URI + 'system/channel/list', {})
}
export function getVolumes() {
    return Axios.get(URI + 'system/volumes/list', {})
}
export function getOrders() {
    return Axios.get(URI + 'system/orders/info', {})
}
export function getTransaction() {
    return Axios.get(URI + 'system/transaction/info', {})
}
export function getYear() {
    return Axios.get(URI + 'system/year/info', {})
}
